﻿<!doctype html>
<html>
<head>
<#include "/part_meta.ftl">
<title>店内搜索-${store.name}-迈小众</title>
<link href="${st.resDomain}/css/store_classification.css" rel="stylesheet" type="text/css">
<link href="${st.resDomain}/css/style.css" rel="stylesheet" type="text/css">
<link href="${st.resDomain}/css/store.css" rel="stylesheet" type="text/css">
<link href="${st.resDomain}/css/autostyle.css" rel="stylesheet" type="text/css">
</head>

<body>
<!--头部-->
<header>
  <div class="boxw store">
    <div class="header">
      <span class="f_left"><a href="javascript:history.back();" class="back"></a></span>
      <span class="title"><#if classify??>${classify.name}<#else>店内搜索</#if></span>
      <span class="f_right"><a class="more"></a></span>
    </div>
    <div class="more">
      <a href="${st.domain}/store/${store.storeId}" class="icon-store">店铺主页</a>
      <a href="${st.userDomain}/shoppingCart" class="icon-car">购物车</a>
      <a href="${st.userDomain}/" class="icon-user">个人中心</a>
      <a href="${st.domain}/" class="icon-home">主页</a>
    </div>
  </div>
</header>
<!--头部 END-->

<div class="main boxw" style="padding-bottom: 4rem;">
  <div class="search">
    <div class="box">
     <form id="searchForm" action="${st.domain}/storeGoods/list4Shop">
      <input type="hidden" name="storeId" value="${store.storeId}">
      <input type="text" name="searchWord">
      <a href="javascript:;" onclick="$('#searchForm').submit();">搜店内</a>
     </form>
     </div>
  </div>
  <div class="classification_list">
    <ul>
    <li><a href="${st.domain}/storeGoods/list4Shop?storeId=${store.storeId}&classifyId=${classify.classifyId}">全部</a></li>
    <#list list as c>
    	<li <#if !c_has_next>class="last"</#if>><a href="${st.domain}/goodsClassify?storeId=${store.storeId}&parentId=${c.classifyId}">${c.name}</a></li>
    </#list>
    </ul>
  </div>
</div>
<!--尾部-->
<footer>
  <div class="boxw">
    <nav class="f_clear"><a href="${st.domain}/store/${store.storeId}" class="mxz"  style="background-image: url('<#if store.logo??>${st.attaDomain}${store.logo}<#else>${st.attaDomain}/def/shop_logo.jpg</#if>');"></a>
    <span class="name">${store.name}</span><span class="right">好评率：<strong>98%</strong></span></nav>
  </div>
</footer>
<!--尾部-->
<script src="${st.resDomain}/scripts/jquery-1.9.1.min.js"></script>
<script src="${st.resDomain}/scripts/com.js"></script>
</body>
</html>
